Color.fromObject Method

Parses a color from an object.
 
 
Static This method is static.

Parameters

value

Type: Object
The object to use to create the color.

Return Value


Type: Color
The color value or null if the color could not be parsed.